

body {
    margin: 10px; padding: 0;
    padding-bottom: 1px;
    padding: 0;
    text-align: center;   
    font-family: Arial, "Times New Roman", Tahoma;
    font-size: 12px;
    color: #313131;        
    /*background-image: url('../images/bg.jpg');*/
}

ul
{
    padding: 0;
    margin: 0;
    list-style: none;
}

img
{
    border:none;    
}

input[readonly="true"],
select[readonly="true"],
textarea[readonly="true"] { background-color: #e7e7e7 }



a.d_link:link,
a.d_link:visited {
    color: #000;
    font-weight: bold;
}
a.d_link:hover {
    cursor: pointer;
}

a:link,
a:visited{
    color: #000;
    text-decoration: none;
}
a:hover{
    cursor: pointer;
}


.d_loading_button {
    background: url('../images/smallLoader.gif') 3px no-repeat;
    font-size: 12px; 
    text-align: center;
    padding: 0.5em 0.5em 0.5em 2em;
    margin: 0 auto;
    width: auto;
    color: #006a9c;
    display: none;
}

.d_loading_button:hover {
    cursor: pointer;
}

.d_clear 
{ 
    clear: both;
    padding: 0; 
    width: auto; 
    font-size: 0;
}








.d_asterisk{
    color:#ff0000;
    float: right;
}


/*-------------------------
  ĐỊNH DẠNG CÁC KHOẢNG CÁCH 
  -------------------------*/
.d_divide1 {
    height: 1px;
    clear: both; 
    font-size: 0;
}
.d_divide2 {
    height: 2px;
    clear: both;  
    font-size: 0;
}
.d_divide3 {
    height: 3px;
    clear: both;   
    font-size: 0;
}
.d_divide4 {
    height: 4px;
    clear: both;   
    font-size: 0;
}
.d_divide5 {
    height: 5px;
    clear: both;  
    font-size: 0;
}
.d_divide10 {
    height: 10px;
    clear: both;  
    font-size: 0;
}
.d_divide15 {
    height: 15px;
    clear: both;  
    font-size: 0;
}
.d_divide20 {
    height: 20px;
    clear: both; 
    font-size: 0;
}



/*-------------------------------
  ĐỊNH DẠNG CÁC CLASS BO TRÒN
  -------------------------------*/
.d_border_radius2 {
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
}
.d_border_radius3 {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}
.d_border_radius4 {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.d_border_radius5 {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.d_border_radius6 {
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.d_border_radius8 {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.d_border_radius10 {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}


.d_size8 {
    font-size: 8px;
}
.d_size9 {
    font-size: 9px;
}
.d_size10 {
    font-size: 10px;
}
.d_size11 {
    font-size: 11px;
}
.d_size12 {
    font-size: 12px;
}
.d_size13 {
    font-size: 13px;
}

.d_size14 {
    font-size: 14px;
}
.d_size15 {
    font-size: 15px;
}
.d_size16 {
    font-size: 16px;
}
.d_size17 {
    font-size: 17px;
}
.d_size18 {
    font-size: 18px;
}
.d_size19 {
    font-size: 19px;
}
.d_size20 {
    font-size: 20px;
}
.d_size21 {
    font-size: 21px;
}
.d_size22 {
    font-size: 22px;
}
.d_size23 {
    font-size: 23px;
}
.d_size24 {
    font-size: 24px;
}
.d_size25 {
    font-size: 25px;
}


/*--------------------
  định dạng chữ in đậm
  --------------------*/
.d_bold {
    font-weight: bold;
}




.d_button {
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 30px;
    height: 30px;


    color: #fff; 
    background-image: url('../images/button_bg.gif');
    border: none;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;     
}

.d_button:link, .d_button:visited {
    color: #fff; 
}
.d_button:active {
    color: #7a0000;
}
.d_button:hover {
    cursor: pointer;
}





.d_label {
    font-size: 15px;
    text-align: right;

    /*    min-width: 130px;
        width: auto !important;
        width: 130px;*/
    width: 150px;

    float: left;
    line-height: 30px;
    margin: 0 3px 0 0;
}


.d_text_input {
    margin-left: 10px;
    font-size: 15px;    
    display: inline-block;    
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 5px;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}



#d_login_form {    
    padding: 10px 15px;
    background-color: #fff;
    width:350px;          
    margin:150px auto;
}





/*-------------------------
  ĐỊNH DẠNG CÁC KHOẢNG CÁCH 
  -------------------------*/
.d_divide1 {
    height: 1px;
    clear: both; 
}
.d_divide2 {
    height: 2px;
    clear: both;    
}
.d_divide3 {
    height: 3px;
    clear: both;    
}
.d_divide4 {
    height: 4px;
    clear: both;    
}
.d_divide5 {
    height: 5px;
    clear: both;    
}
.d_divide10 {
    height: 10px;
    clear: both;    
}
.d_divide15 {
    height: 15px;
    clear: both;    
}
.d_divide20 {
    height: 20px;
    clear: both;    
}



/*-------------------------------
  ĐỊNH DẠNG CÁC CLASS BO TRÒN
  -------------------------------*/
.d_border_radius4 {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.d_border_radius5 {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.d_border_radius6 {
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}
.d_border_radius8 {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
.d_border_radius10 {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}


.d_property {
    float:left; 
    padding:2px; 
    background:#e9e9e9; 
    margin-right:3px;    
}




body, td, th { font-family: Arial, Helvetica, sans-serif; }

html, body { height: 95%; }

#minwidth { min-width: 960px; }

.clr { clear: both; overflow:hidden; height: 0; }

a, img { padding: 0; margin: 0; }

img { border: 0 none; }

form { margin: 0; padding: 0; }

h1 {
    margin: 0; padding-bottom: 8px;
    color: #0B55C4; font-size: 20px; font-weight: bold;
}

h3 {
    font-size: 13px;
}

a:link    { color: #0B55C4; text-decoration: none; }
a:visited { color: #0B55C4; text-decoration: none; }
a:hover   { text-decoration: underline; }

fieldset {
    margin-bottom: 10px;
    border: 1px #ccc solid;
    padding: 5px;
    text-align: left;
}

fieldset p {  margin: 10px 0px;  }

legend    {
    color: #0B55C4;
    font-size: 12px;
    font-weight: bold;
}

input, select, textarea  { border: 1px solid silver; }
input.disabled { background-color: #F0F0F0; }
input:focus,
select:focus,
textarea:focus { background-color: #ffd }




/*header*/
#d_header         { background: url(../images/header/j_header_middle.png) repeat-x;height: 54px;  }
#d_header .d_site_name         { position: absolute; top: 20px; left: 20px;font-weight: bold; color: #fff; font-size: 25px}

/*content*/
#d_content {
    background-color: #fff;
}
#d_content .padding  { padding: 10px 10px 0 10px; }



/*bottom*/
#d_bottom			{ background: url(../images/bottom/j_bottom.png); background-position: 11px 0px; }
#d_bottom div  		{ background: url(../images/bottom/j_corner_br.png) 100% 0 no-repeat; }
#d_bottom div div 	{ background: url(../images/bottom/j_corner_bl.png) no-repeat; height: 11px; }









/*#border-top.h_teal          { background: url(../images/bottom/h_teal/j_header_middle.png) repeat-x; }
#border-top.h_teal div      { background: url(../images/bottom/h_teal/j_header_right.png) 100% 0 no-repeat; }
#border-top.h_teal div div  { background: url(../images/bottom/h_teal/j_header_left.png) no-repeat; height: 54px; }

#border-top.h_cherry          { background: url(../images/bottom/h_cherry/j_header_middle.png) repeat-x; }
#border-top.h_cherry div      { background: url(../images/bottom/h_cherry/j_header_right.png) 100% 0 no-repeat; }
#border-top.h_cherry div div  { background: url(../images/bottom/h_cherry/j_header_left.png) no-repeat; height: 54px; }*/

#border-top .d_title {
    font-size: 22px; font-weight: bold; color: #fff; line-height: 44px;
    padding-left: 10px;
}

#border-top .version {
    display: block; float: right;
    color: #fff;
    padding: 25px 5px 0 0;
}








#footer .copyright { margin: 10px; text-align: center; }

#header-box  { border: 1px solid #ccc; background: #f0f0f0; }






#toolbar-box { 
    background: #fbfbfb; 
    border: 1px solid #d5d5d5
}

div#element-box {
    background: #fff;
    border: 1px solid #d5d5d5;
    padding: 5px 10px;
}






#submenu-box { background: #f6f6f6; margin-bottom: 10px; }
#submenu-box .padding { padding: 0px;}


/* -- status layout */
#module-status      { float: right; }
#module-status span { display: block; float: left; line-height: 16px; padding: 4px 10px 0 22px; margin-bottom: 5px; }

#module-status { background: url(../images/bottom/mini_icon.png) 3px 5px no-repeat; }
.legacy-mode{ color: #c00;}
#module-status .preview 			  { background: url(../images/bottom/menu/icon-16-media.png) 3px 3px no-repeat; }
#module-status .unread-messages,
#module-status .no-unread-messages { background: url(../images/bottom/menu/icon-16-messages.png) 3px 3px no-repeat; }
#module-status .unread-messages a  { font-weight: bold; }
#module-status .loggedin-users     { background: url(../images/bottom/menu/icon-16-user.png) 3px 3px no-repeat; }
#module-status .logout             { background: url(../images/bottom/menu/icon-16-logout.png) 3px 3px no-repeat; }

/* -- various styles -- */
span.note {
    display: block;
    background: #ffd;
    padding: 5px;
    color: #666;
}

/** overlib **/

.ol-foreground {
    background-color: #ffe;
}

.ol-background {
    background-color: #6db03c;
}

.ol-textfont {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
}

.ol-captionfont {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #fff;
    font-weight: bold;
}
.ol-captionfont a {
    color: #0b5fc6;
    text-decoration: none;
}

.ol-closefont {}

/** toolbar **/

div.header {
    font-size: 22px; 
    font-weight: bold; 
    color: #0B55C4; 
    line-height: 48px;
    padding-left: 55px;
    background-repeat: no-repeat;
    margin-left: 10px;
    text-align: left
}

div.header span { color: #666; }

div.configuration {
    font-size: 14px; font-weight: bold; color: #0B55C4; line-height: 16px;
    padding-left: 30px;
    margin-left: 10px;
    background-image: url(../images/bottom/menu/icon-16-config.png);
    background-repeat: no-repeat;
}

div.toolbar { float: right; text-align: right; padding: 0 10px; }

table.toolbar    			 { border-collapse: collapse; padding: 0; margin: 0;	 }
table.toolbar td 			 { padding: 1px 1px 1px 4px; text-align: center; color: #666; height: 48px; }
table.toolbar td.spacer  { width: 10px; }
table.toolbar td.divider { border-right: 1px solid #eee; width: 5px; }

table.toolbar span { float: none; width: 32px; height: 32px; margin: 0 auto; display: block; }

table.toolbar a {
    display: block; float: left;
    white-space: nowrap;
    border: 1px solid #fbfbfb;
    padding: 1px 5px;
    cursor: pointer;
}

table.toolbar a:hover {
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
    color: #0B55C4;
}

/** for massmail component **/
td#mm_pane			{ width: 90%; }
input#mm_subject    { width: 200px; }
textarea#mm_message { width: 100%; }

/* pane-sliders  */
.pane-sliders .d_title {
    margin: 0;
    padding: 2px;
    color: #666;
    cursor: pointer;
}

.pane-sliders .panel   { border: 1px solid #ccc; margin-bottom: 3px;}

.pane-sliders .panel h3 { background: #f6f6f6; color: #666}

.pane-sliders .content { background: #f6f6f6; }

.pane-sliders .adminlist     { border: 0 none; }
.pane-sliders .adminlist td  { border: 0 none; }

.jpane-toggler  span     { background: transparent url(../images/bottom/j_arrow.png) 5px 50% no-repeat; padding-left: 20px;}
.jpane-toggler-down span { background: transparent url(../images/bottom/j_arrow_down.png) 5px 50% no-repeat; padding-left: 20px;}

.jpane-toggler-down {  border-bottom: 1px solid #ccc; }

/* tabs */

dl.tabs {
    float: left;
    margin: 10px 0 -1px 0;
    z-index: 50;
}

dl.tabs dt {
    float: left;
    padding: 4px 10px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    margin-left: 3px;
    background: #f0f0f0;
    color: #666;
}

dl.tabs dt.open {
    background: #F9F9F9;
    border-bottom: 1px solid #F9F9F9;
    z-index: 100;
    color: #000;
}

div.current {
    clear: both;
    border: 1px solid #ccc;
    padding: 10px 10px;
}

div.current dd {
    padding: 0;
    margin: 0;
}
























/** cpanel settings **/
#cpanel div.icon {
    text-align: center;
    margin-right: 5px;
    float: left;
    margin-bottom: 5px;
}

#cpanel div.icon a {
    display: block;
    float: left;
    border: 1px solid #f0f0f0;
    height: 97px;
    width: 108px;
    color: #666;
    vertical-align: middle;
    text-decoration: none;
}

#cpanel div.icon a:hover {
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #f9f9f9;
    color: #0B55C4;
}

#cpanel img  { padding: 10px 0; margin: 0 auto; }
#cpanel span { display: block; text-align: center;}








/* standard form style table */
div.col { float: left; }
div.width-45 { width: 45%; }
div.width-55 { width: 55%; }
div.width-50 { width: 50%; }
div.width-70 { width: 70%; }
div.width-30 { width: 30%; }
div.width-60 { width: 60%; }
div.width-40 { width: 40%; }

table.admintable td 					 { padding: 3px; }
table.admintable td.key,
table.admintable td.paramlist_key {
    background-color: #f6f6f6;
    text-align: right;
    width: 140px;
    color: #666;
    font-weight: bold;
    border-bottom: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
}

table.paramlist td.paramlist_description {
    background-color: #f6f6f6;
    text-align: left;
    width: 170px;
    color: #333;
    font-weight: normal;
    border-bottom: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
}

table.admintable td.key.vtop { vertical-align: top; }

table.adminform {
    background-color: #f9f9f9;
    /*border: solid 1px #d5d5d5;*/
    width: 100%;
    padding: 5px;
    margin: 8px 0 10px 0;
    width: 100%;
}








table.adminform.nospace { margin-bottom: 0; }
table.adminform tr.row0 { background-color: #f9f9f9; }
table.adminform tr.row1 { background-color: #eeeeee; }

table.adminform th {
    font-size: 11px;
    padding: 6px 2px 4px 4px;
    text-align: left;
    height: 25px;
    color: #000;
    background-repeat: repeat;
}
table.adminform td { padding: 3px; text-align: left; }

table.adminform td.filter{
    text-align: left;
}

table.adminform td.helpMenu{
    text-align: right;
}


fieldset.adminform { 
    border: 1px solid #ccc; 
    margin: 0 10px 10px 10px; 
}




/** Table styles **/

table.adminlist {
    width: 100%;
    border-spacing: 1px;
    background-color: #e7e7e7;
    color: #666;
}

table.adminlist td,
table.adminlist th { padding: 4px; }

table.adminlist thead th {
    text-align: center;
    background: #f0f0f0;
    color: #666;
    border-bottom: 1px solid #999;
    border-left: 1px solid #fff;
}

table.adminlist thead a:hover { text-decoration: none; }

table.adminlist thead th img { vertical-align: middle; }

table.adminlist tbody th { font-weight: bold; }

table.adminlist tbody tr			{ background-color: #fff;  text-align: left; }
table.adminlist tbody tr.row1 	{ background: #f9f9f9; border-top: 1px solid #fff; }

table.adminlist tbody tr.row0:hover td,
table.adminlist tbody tr.row1:hover td  { background-color: #ffd ; }

table.adminlist tbody tr td 	   { height: 25px; background: #fff; border: 1px solid #fff; }
table.adminlist tbody tr.row1 td { background: #f9f9f9; border-top: 1px solid #FFF; }

table.adminlist tfoot tr { text-align: center;  color: #333; }
table.adminlist tfoot td,
table.adminlist tfoot th { background-color: #f3f3f3; border-top: 1px solid #999; text-align: center; }

table.adminlist td.order 		{ text-align: center; white-space: nowrap; }
table.adminlist td.order span { float: left; display: block; width: 20px; text-align: center; }

table.adminlist .pagination { display:table; padding:0;  margin:0 auto;	 }

.pagination div.limit {
    float: left;
    height: 22px;
    line-height: 22px;
    margin: 0 10px;
}

/** stu nicholls solution for centering divs **/
.container {clear:both; text-decoration:none;}
* html .container {display:inline-block;}

/** table solution for global config **/
table.noshow   		 { width: 100%; border-collapse: collapse; padding: 0; margin: 0; }
table.noshow tr 		 { vertical-align: top; }
table.noshow td 		 { }
table.noshow fieldset { margin: 15px 7px 7px 7px; }

#editor-xtd-buttons { padding: 5px; }




/* -- buttons -> STILL NEED CLEANUP*/
.button1,
.button1 div{
    height: 1%;
    float: right;
}

.button2-left,
.button2-right,
.button2-left div,
.button2-right div {
    float: left;
}

.button1 { background: url(../images/bottom/j_button1_left.png) no-repeat; white-space: nowrap; padding-left: 10px; margin-left: 5px;}

.button1 .next { background: url(../images/bottom/j_button1_next.png) 100% 0 no-repeat; }

.button1 a {
    display: block;
    height: 26px;
    float: left;
    line-height: 26px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    padding: 0 30px 0 6px;
}

.button1 a:hover { text-decoration: none; color: #0B55C4; }

.button2-left a,
.button2-right a,
.button2-left span,
.button2-right span {
    display: block;
    height: 22px;
    float: left;
    line-height: 22px;
    font-size: 11px;
    color: #333;
    cursor: pointer;
}

.button2-left span,
.button2-right span { cursor: default; color: #999; }

.button2-left .page a,
.button2-right .page a,
.button2-left .page span,
.button2-right .page span,
.button2-left .blank a,
.button2-right .blank a,
.button2-left .blank span,
.button2-right .blank span { padding: 0 6px; }

.page span,
.blank span {
    color: #000;
    font-weight: bold;
}

.button2-left a:hover,
.button2-right a:hover { text-decoration: none; color: #0B55C4; }

.button2-left a,
.button2-left span { padding: 0 24px 0 6px; }

.button2-right a,
.button2-right span { padding: 0 6px 0 24px; }

.button2-left { background: url(../images/bottom/j_button2_left.png) no-repeat; float: left; margin-left: 5px; }

.button2-right { background: url(../images/bottom/j_button2_right.png) 100% 0 no-repeat; float: left; margin-left: 5px; }

.button2-right .prev { background: url(../images/bottom/j_button2_prev.png) no-repeat; }

.button2-right.off .prev { background: url(../images/bottom/j_button2_prev_off.png) no-repeat; }

.button2-right .start { background: url(../images/bottom/j_button2_first.png) no-repeat; }

.button2-right.off .start { background: url(../images/bottom/j_button2_first_off.png) no-repeat; }

.button2-left .page,
.button2-left .blank { background: url(../images/bottom/j_button2_right_cap.png) 100% 0 no-repeat; }

.button2-left .next { background: url(../images/bottom/j_button2_next.png) 100% 0 no-repeat; }

.button2-left.off .next { background: url(../images/bottom/j_button2_next_off.png) 100% 0 no-repeat; }

.button2-left .end { background: url(../images/bottom/j_button2_last.png) 100% 0 no-repeat; }

.button2-left.off .end { background: url(../images/bottom/j_button2_last_off.png) 100% 0 no-repeat; }

.button2-left .image 		{ background: url(../images/bottom/j_button2_image.png) 100% 0 no-repeat; }
.button2-left .readmore 	{ background: url(../images/bottom/j_button2_readmore.png) 100% 0 no-repeat; }
.button2-left .pagebreak 	{ background: url(../images/bottom/j_button2_pagebreak.png) 100% 0 no-repeat; }
.button2-left .blank	 	{ background: url(../images/bottom/j_button2_blank.png) 100% 0 no-repeat; }

/* Tooltips */
.tool-tip {
    float: left;
    background: #ffc;
    border: 1px solid #D4D5AA;
    padding: 5px;
    max-width: 200px;
    z-index: 50;
}

.tool-title {
    padding: 0;
    margin: 0;
    font-size: 100%;
    font-weight: bold;
    margin-top: -15px;
    padding-top: 15px;
    padding-bottom: 5px;
    background: url(../images/bottom/selector-arrow.png) no-repeat;
}

.tool-text {
    font-size: 100%;
    margin: 0;
}

/* Calendar */
a img.calendar {
    width: 16px;
    height: 16px;
    margin-left: 3px;
    background: url(../images/bottom/calendar.png) no-repeat;
    cursor: pointer;
    vertical-align: middle;
}

/* System Standard Messages */
#system-message dd.message ul { background: #C3D2E5 url(../images/bottom/notice-info.png) 4px center no-repeat;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../images/bottom/notice-alert.png) 4px top no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../images/bottom/notice-note.png) 4px top no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E;}






.d_lock_screen {
    background:#02bac6 url("../images/lock_bg.jpg");
    background-size: cover;
    background-repeat: repeat;
}

